//添加post--添加用户信息
function add_user() {
    $.post("/demo02_userManage_war/addUser", {
        uname: $("#uname-au").val(),
        pwd: $("#pwd-au").val(),
        hobby: $("#hobby-au").val(),
    }, function (res, status) {
        console.log(res + " " + status);
        if (status !== "success") {
            alert("添加失败!!");
            return;
        }
        alert("添加成功!!");
    })
}